package com.corticon.dialogs.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 * The composite id for QuestionSetInNaire entity class.
 * 
 * @author Yanglifan
 */
@Embeddable
public class QuestionSetInNaireId implements Serializable {

    private Long questionSetId;
    private Long questionnaireId;

    public QuestionSetInNaireId() {
    }

    public QuestionSetInNaireId(Long questionSetId, Long questionnaireId) {
        this.questionSetId = questionSetId;
        this.questionnaireId = questionnaireId;
    }

    @Column(name = "questionsetassoc_q_questionset_id_oid")
    public Long getQuestionSetId() {
        return questionSetId;
    }

    public void setQuestionSetId(Long questionSetId) {
        this.questionSetId = questionSetId;
    }

    @Column(name = "questionnaireassoc_q_questionnaire_id_oid")
    public Long getQuestionnaireId() {
        return questionnaireId;
    }

    public void setQuestionnaireId(Long questionnaireId) {
        this.questionnaireId = questionnaireId;
    }
}
